﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace 日志模块测试.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            
            Helpers.Logger.Logger_Timer("index中的message方法", () =>
            {
                ViewBag.Message = "欢迎使用 ASP.NET MVC!";
            }, "logger.txt");

            return View();
        }

        public ActionResult About()
        {
            Helpers.Logger.Logger_Timer("About中的message方法", () =>
            {
                ViewBag.Message = "欢迎使用 ASP.NET MVC!";
            }, "logger.txt");

            return View();
        }
    }
}
